Skip to content

docs(atlas): reconcile the evaluation record at the source (#13283) - #13327

Merged
dezren39 merged 1 commit into
mainfrom
lane-xl-13283
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
lane-xl-13283

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Reconciles the Atlas evaluation record at the source, per #13283. All six survey points were verified first-hand against current main before editing:

  1. RRF k — production rrf_k = 10 (crates/atlas-proto/query-parameters-v1.json; fusion.rs decompositions at k=10) vs the Python eval lineage at k=60 (eval3.py top-30 branches; gate5733.py). Both now named as distinct configurations wherever their numbers appear.
  2. Two "production hybrid" rows — 189 hits@10 / MRR 0.3894 (k=10, pool 100, full width) vs recall@10 183/311 / MRR 0.3640 (depth 30, k=60, trunc-384). atlas_search.py's header, gate5733.py's docstring, and gate-5733-results.md now cross-name the other row and its configuration.
  3. Truncation — production SearchOptions.trunc defaults to 0 (full 768); the gate lineage's numbers are trunc-384 numbers, now stated at each record.
  4. gate5733 docstring said 60 near-exact passages; the measured set is the 54-query fixture (sampler cap 60, 54 qualified on the frozen corpus copy). Corrected.
  5. eval/README — held-out status updated both directions: heldout-nearexact-54.json exists (2026-11-17) and a full gate ran on it (verdict FAIL); the SPLADE ablation arms have never been scored (no encoder/postings exist) and are now marked design intent. Also fixed in the same pass: the atlas_search.py provenance entry claimed byte-for-byte, but the in-repo copy diverged in Atlas search improvements: parallel branches, service/result-store shape, nix-packaged binary CLI #12900 thread 1 and later changes — the entry now records the source SHA and the divergences, mirroring the eval3.py entry's shape.
  6. Two "golden" artefacts — overlap-report-6039.md's query set is now explicitly provisional/self-derived and unrelated to golden-311 (chunk-id qrels cannot serve a span-judgement experiment); eval/README's new "recorded golden-311 rows" section distinguishes all three artefacts.

Book concepts/evaluation.md updated in the same change per DOC-01 (its "reconciling … remains open work" sentence is discharged by this reconciliation).

Docs, docstrings and records only — no evaluation behaviour changes.

Verification (laptop route): py_compile clean on the three Python files; nix build .#atlas-docs clean and the rendered chapter carries the reconciliation. Remote dispatch was not used: the change is documentation-only and the fleet-build container's nix gaps (#13159 family) make it the weaker route for this check.

Closes #13283


See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The Atlas evaluation record disagreed with itself about what the
production configuration and its numbers are. Every published
golden-311 number now names the configuration it belongs to:

- Production (RRF k=10, pool 100 per branch, full 768 dimensions;
  query-parameters-v1.json) vs the Python eval lineage (top-30 /
  depth-30 branches, RRF k=60, trunc-384): atlas_search.py's header,
  gate5733.py's docstring, eval3.py's docstring and
  gate-5733-results.md now cross-name the two recorded rows
  (189 hits@10 / MRR 0.3894 vs recall@10 183/311 / MRR 0.3640)
  instead of both calling themselves "production hybrid".
- gate5733.py's docstring said 60 near-exact passages; the measured
  set is the 54-query fixture (cap 60, 54 qualified on the frozen
  corpus copy) — docstring corrected.
- eval/README: the held-out set exists and a full gate has run on
  it (gate-5733 verdict FAIL); the SPLADE ablation arms have never
  been scored (no encoder/postings) and are now marked as design
  intent; the atlas_search.py provenance entry no longer claims
  byte-for-byte (the in-repo copy diverged in #12900 thread 1 and
  later changes); a new section records the two golden-311 rows and
  distinguishes the three "golden" artefacts.
- overlap-report-6039.md: its query set is provisional and
  self-derived, explicitly not golden-311 (chunk-id qrels cannot
  serve a span-judgement experiment).
- Book concepts/evaluation.md updated in the same change per
  DOC-01: the two-rows passage now records the cross-naming.

Docs, docstrings and records only — no evaluation behaviour
changes. Verified: py_compile on the three Python files; nix
build .#atlas-docs clean.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b5249f4c-afdb-4df2-8dc2-a3bb5886db8e
Commits

Reviewing files that changed from the base of the PR and between b31cb2d and b328800.

Files selected for processing: 7

  • pkgs/atlas-search/atlas_search.py
  • pkgs/atlas-search/book/concepts/evaluation.md
  • pkgs/atlas-search/eval/README.md
  • pkgs/atlas-search/eval/eval3.py
  • pkgs/atlas-search/eval/gate-5733-results.md
  • pkgs/atlas-search/eval/gate5733.py
  • pkgs/atlas-search/eval/overlap-report-6039.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T13:35:22.996435Z b328800 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Atlas evaluation record disagrees with itself: RRF k, two production rows, trunc-384, stale eval README (book survey, #13251)

1 participant